package cn.bdqn.xtxg.oof;

public final class Penguin extends epetshop {
	
	private final String MALE = "Q仔";
	private final String FEMALE = "Q妹";
	private  String sex;
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getMALE() {
		return MALE;
	}
	public String getFEMALE() {
		return FEMALE;
	}
	public Penguin(int health,int love) {
		this.setHealth(health);
		this.setLove(love);
	}
	public void print() {
		System.out.println("宠物的自白:");
		System.out.println("我的名字是:"+this.getName()+",我的健康值是:"+this.getHealth()+",我跟主人的亲密值是:"+this.getLove()+",我的性别是："+this.sex);
	}
	public void eat() {
		System.out.println("企鹅吃了鱼,健康值+10");
	}
	public void swimming() {
		System.out.println("企鹅跟主人一起 ,健康值-2,与主人的亲密度+10");
	}
}
